<#-- @ftlvariable name="entity" type="com.xci.platform.auth.entity.HistoryEntity" -->
<#include "/_inc/_layout.ftl">
<@header/>
<div class="jxpanel winpanel" data-fit="true">
    <div class="jxsection-container">基本信息</div>
    <table class="table table-bordered jxtable-details">
        <tr>
            <th class="w-100px">操作消息</th>
            <td>${entity.message!?html}</td>
        </tr>
        <tr>
            <th>数据表</th>
            <td><span>${entity.tableCaption!?html}</span>(${entity.tableName!?html})</td>
        </tr>
        <tr>
            <th>主键</th>
            <td><span>${entity.keyName!?html}</span>(${entity.keyValue!?html})</td>
        </tr>
        <tr>
            <th>操作类型</th>
            <td>${entity.operateTypeText!?html}</td>
        </tr>
        <#if helper.isNotBlank(entity.beforeData!)>
            <tr>
                <th>操作前数据</th>
                <td>
                    <pre>${entity.beforeData!?html}</pre>
                </td>
            </tr>
        </#if>
        <#if helper.isNotBlank(entity.afterData!)>
            <tr>
                <th>操作后数据</th>
                <td>
                    <pre>${entity.afterData!?html}</pre>
                </td>
            </tr>
        </#if>
        <tr>
            <th>操作用户</th>
            <td>${entity.operateUserName!?html}</td>
        </tr>
        <tr>
            <th>操作时间</th>
            <td>${helper.formatDateTime(entity.operateDateTime)!?html}</td>
        </tr>
    </table>
</div>
<@footer/>